<?php 
session_start();
ob_start();
?>
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>
<?php include ("ewconfig.php") ?>
<?php include ("db.php") ?>
<?php include ("advsecu.php") ?>
<?php
if (@$_COOKIE[ewCookieAutoLogin] == "") {
	setCookie(ewCookieUserName, ""); // clear username
}
setCookie(ewCookiePassword,""); // clear password
@session_unset();
@session_destroy();
header("Location: login.php");
exit();
?>
